<html>
<head>
<meta charset="UTF-8">
<title>竟办插件配置详情</title>
<link id="easyuiTheme" href="../../static/easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css"/>
<link href="../../static/easyui/themes/icon.css" rel="stylesheet" type="text/css"/>
<link href="../../static/css/esaas-easyui-edit.css" rel="stylesheet" type="text/css"/>
<script src="../../static/easyui/jquery.min.js" type="text/javascript"></script>
	<script src="../../static/easyui/jquery.cookie.js" type="text/javascript"></script>
	<script src="../../static/easyui/ui-theme.js" type="text/javascript"></script>
<script src="../../static/easyui/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../../static/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.util.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.jquery.ajax.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.easyui.util.js" type="text/javascript"></script>
<script src="../../ffres/dict/all.js" type="text/javascript"></script>
<a href="" target="_blank" id="commonLink" name="commonLink"></a>
</head>
<body class="easyui-layout">

	    <form id="ff" method="post">
	    	<div class="esaas-info-title">竟办插件配置信息</div>
	    	<table class="esaas-info-edit-table">
			<tr>
				<td width="15%" align="right">插件配置信息标识：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="pluginConfId" data-options="required:true"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">竟办策略：</td>
				<td width="35%"><select class="easyui-combobox"
					id="contentionStrategy" name="contentionStrategy"
					style="width: 100%; height: 25px;" disabled
					data-options="required:false,editable:false,valueField:'enname',textField:'cnname',data:CONTENTION_STRATEGY">
				</select></td>
			</tr>
	    	</table>
	    </form>
		<div style="text-align:center;padding:15px">
			<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="closeForm()">&nbsp;关&nbsp;闭&nbsp;</a>
		</div>
	</div>
	<script>


		$(function() {
            addTitle("查看");

            var pluginConfId = $.getUrlParam('pluginConfId');
			$.restfulGet('../../api/plugin/contention/conf/' + pluginConfId,null,function(data){
					$('#ff').form('load', {
						pluginConfId : data.rows.pluginConfId,
						contentionStrategy : data.rows.contentionStrategy
					});
			});
		});
		function closeForm(){
			window.parent.JLEUtil.closewin();
		}
	</script>
</body>
</html>
